Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -296,7 +296,7 @@ def generate(text, history, rag_option, model_option, temperature=0.5, max_new_
|
|
| 296 |
print("prompt:..................")
|
| 297 |
print(prompt)
|
| 298 |
print("result:..................")
|
| 299 |
-
print(result
|
| 300 |
except Exception as e:
|
| 301 |
raise gr.Error(e)
|
| 302 |
|
|
|
|
| 296 |
print("prompt:..................")
|
| 297 |
print(prompt)
|
| 298 |
print("result:..................")
|
| 299 |
+
print(result['generated_text'])
|
| 300 |
except Exception as e:
|
| 301 |
raise gr.Error(e)
|
| 302 |
|