freQuensy23 commited on
Commit
a5c1eea
1 Parent(s): 36caa7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -1,11 +1,7 @@
1
  import os
2
- from threading import Thread
3
  from typing import Iterator
4
 
5
  import gradio as gr
6
- import spaces
7
- import torch
8
- from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
9
 
10
  MAX_MAX_NEW_TOKENS = 2048
11
  DEFAULT_MAX_NEW_TOKENS = 1024
 
1
  import os
 
2
  from typing import Iterator
3
 
4
  import gradio as gr
 
 
 
5
 
6
  MAX_MAX_NEW_TOKENS = 2048
7
  DEFAULT_MAX_NEW_TOKENS = 1024