Spaces:
Runtime error
Runtime error
tonic
commited on
Commit
•
3b901a6
1
Parent(s):
fa19078
bugfix
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ def process_input(image=None, file=None, audio=None, text="", translateto = "Eng
|
|
233 |
# add graceful handling for errors (overflow)
|
234 |
generated_text = response.generations[0].text
|
235 |
print("Generated Text: ", generated_text)
|
236 |
-
generated_text_with_format = generated_text + "\n" + formatinputstring
|
237 |
response = co.generate(
|
238 |
model='command-nightly',
|
239 |
prompt=generated_text_with_format,
|
|
|
233 |
# add graceful handling for errors (overflow)
|
234 |
generated_text = response.generations[0].text
|
235 |
print("Generated Text: ", generated_text)
|
236 |
+
generated_text_with_format = generated_text + "\n" + formatinputstring
|
237 |
response = co.generate(
|
238 |
model='command-nightly',
|
239 |
prompt=generated_text_with_format,
|