prateekbh commited on
Commit
55dc744
·
verified ·
1 Parent(s): 4cef152

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def getProductDetails(history, image):
64
  system_prompt="you're a helpful e-commerce marketting assitant"
65
  prompt="Write me a poem"
66
  formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
67
- stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=stream_output, details=True, return_full_text=False)
68
  output = ""
69
 
70
  # for response in stream:
 
64
  system_prompt="you're a helpful e-commerce marketting assitant"
65
  prompt="Write me a poem"
66
  formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
67
+ stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
68
  output = ""
69
 
70
  # for response in stream: