ML610 commited on
Commit
d02e860
1 Parent(s): 2350bde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -73,7 +73,6 @@ def generate_code(user_input):
73
  code = ""
74
  for word in response:
75
  code = code + word
76
- print(code)
77
  return code
78
 
79
  UI = gr.Interface(
@@ -85,12 +84,4 @@ UI = gr.Interface(
85
  examples=examples
86
  )
87
 
88
- UI.launch()
89
-
90
- # while True:
91
- # user_prompt = input(user_prefix)
92
- # generator = generate(llm, generation_config, user_prompt.strip())
93
- # print(assistant_prefix, end=" ", flush=True)
94
- # for word in generator:
95
- # print(word, end="", flush=True)
96
- # print("")
 
73
  code = ""
74
  for word in response:
75
  code = code + word
 
76
  return code
77
 
78
  UI = gr.Interface(
 
84
  examples=examples
85
  )
86
 
87
+ UI.launch()