Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from typing import Iterator
|
|
3 |
import gradio as gr
|
4 |
import spaces
|
5 |
import torch
|
|
|
6 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
7 |
|
8 |
MAX_MAX_NEW_TOKENS = 2048
|
|
|
3 |
import gradio as gr
|
4 |
import spaces
|
5 |
import torch
|
6 |
+
import os
|
7 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
8 |
|
9 |
MAX_MAX_NEW_TOKENS = 2048
|