hsienchen commited on
Commit
e9fd4c4
1 Parent(s): 7033453

undo change

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -5,13 +5,6 @@ from pprint import pprint
5
  def get_response(input_text):
6
  app = RemoteRunnable("https://sop-api-server.onrender.com/speckle_chat/")
7
 
8
- if file:
9
- # Implement file handling logic here
10
- # For instance, you can extract text from the file to use it as input
11
- with open(file.name, 'r') as f:
12
- file_content = f.read()
13
- input_text += "\nFile content:\n" + file_content
14
-
15
  for output in app.stream({"input": input_text}):
16
  for key, value in output.items():
17
  # Node
 
5
  def get_response(input_text):
6
  app = RemoteRunnable("https://sop-api-server.onrender.com/speckle_chat/")
7
 
 
 
 
 
 
 
 
8
  for output in app.stream({"input": input_text}):
9
  for key, value in output.items():
10
  # Node