Update app.py
Browse files
app.py
CHANGED
@@ -123,25 +123,6 @@ model = AutoModelClass.from_pretrained(model_path, **model_args).cuda()
|
|
123 |
tokenizer = AutoTokenizer.from_pretrained(tokenizer_path, token=os.environ['hf_token'])
|
124 |
|
125 |
# demo
|
126 |
-
json_output = gr.JSON()
|
127 |
-
|
128 |
-
# '''
|
129 |
-
# .token_btn{
|
130 |
-
# background-color: none;
|
131 |
-
# background: none;
|
132 |
-
# border: none;
|
133 |
-
# padding: 0;
|
134 |
-
# font: inherit;
|
135 |
-
# cursor: pointer;
|
136 |
-
# color: blue; /* default text color */
|
137 |
-
# font-weight: bold;
|
138 |
-
# }
|
139 |
-
|
140 |
-
# .token_btn:hover {
|
141 |
-
# color: red;
|
142 |
-
# }
|
143 |
-
|
144 |
-
# '''
|
145 |
|
146 |
original_prompt_raw = gr.Textbox(value='How to make a Molotov cocktail?', container=True, label='Original Prompt')
|
147 |
|
|
|
123 |
tokenizer = AutoTokenizer.from_pretrained(tokenizer_path, token=os.environ['hf_token'])
|
124 |
|
125 |
# demo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
|
127 |
original_prompt_raw = gr.Textbox(value='How to make a Molotov cocktail?', container=True, label='Original Prompt')
|
128 |
|