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