Spaces:
Runtime error
Runtime error
ahmadtalha
commited on
Commit
•
6a99d7a
1
Parent(s):
ee8c60e
Update app.py
Browse files
app.py
CHANGED
@@ -283,7 +283,7 @@ outputs = [
|
|
283 |
def update_outputs(inputlanguage, target_language, audio, image, text, file):
|
284 |
final_text, top_phrases, translations, audio_outputs = process_input(
|
285 |
image=image, file=file, audio=audio, text=text,
|
286 |
-
translatefrom=
|
287 |
)
|
288 |
|
289 |
processed_text_output = final_text
|
|
|
283 |
def update_outputs(inputlanguage, target_language, audio, image, text, file):
|
284 |
final_text, top_phrases, translations, audio_outputs = process_input(
|
285 |
image=image, file=file, audio=audio, text=text,
|
286 |
+
translatefrom=inputlanguage, translateto=target_language
|
287 |
)
|
288 |
|
289 |
processed_text_output = final_text
|