Spaces:
Running
Running
AFischer1985
commited on
Commit
•
f7dfa37
1
Parent(s):
c815695
Update run.py
Browse files
run.py
CHANGED
@@ -236,7 +236,7 @@ def multimodalResponse(message, history, dropdown, hfToken, request: gr.Request)
|
|
236 |
print(system)
|
237 |
#formatted_prompt = format_prompt0(system+"\n"+query, history)
|
238 |
formatted_prompt = format_prompt(query, history,system=system)
|
239 |
-
print(
|
240 |
stream = inferenceClient.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
241 |
output = ""
|
242 |
for response in stream:
|
|
|
236 |
print(system)
|
237 |
#formatted_prompt = format_prompt0(system+"\n"+query, history)
|
238 |
formatted_prompt = format_prompt(query, history,system=system)
|
239 |
+
print(formatted_prompt)
|
240 |
stream = inferenceClient.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
241 |
output = ""
|
242 |
for response in stream:
|