hysts HF staff commited on
Commit
fbfab15
1 Parent(s): d7f5945

Add a notebook

Browse files
Files changed (2) hide show
  1. notebooks/notebook.ipynb +51 -0
  2. requirements.txt +1 -0
notebooks/notebook.ipynb ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "metadata": {
7
+ "id": "8CnkIPtjn8Dc"
8
+ },
9
+ "outputs": [],
10
+ "source": [
11
+ "!git clone https://huggingface.co/spaces/hysts/zeroscope-v2\n",
12
+ "%cd zeroscope-v2\n",
13
+ "%pip install -q -r requirements.txt"
14
+ ]
15
+ },
16
+ {
17
+ "cell_type": "code",
18
+ "execution_count": null,
19
+ "metadata": {
20
+ "id": "GOfGng5Woktd"
21
+ },
22
+ "outputs": [],
23
+ "source": [
24
+ "from app import demo\n",
25
+ "\n",
26
+ "demo.queue().launch()"
27
+ ]
28
+ },
29
+ {
30
+ "cell_type": "code",
31
+ "execution_count": null,
32
+ "metadata": {
33
+ "id": "7Cued230ol7T"
34
+ },
35
+ "outputs": [],
36
+ "source": []
37
+ }
38
+ ],
39
+ "metadata": {
40
+ "accelerator": "GPU",
41
+ "colab": {
42
+ "gpuType": "T4",
43
+ "provenance": []
44
+ },
45
+ "language_info": {
46
+ "name": "python"
47
+ }
48
+ },
49
+ "nbformat": 4,
50
+ "nbformat_minor": 0
51
+ }
requirements.txt CHANGED
@@ -3,6 +3,7 @@ diffusers==0.21.2
3
  gradio==3.44.4
4
  huggingface-hub==0.17.2
5
  imageio[ffmpeg]==2.31.3
 
6
  torch==2.0.0
7
  torchvision==0.15.1
8
  transformers==4.33.2
 
3
  gradio==3.44.4
4
  huggingface-hub==0.17.2
5
  imageio[ffmpeg]==2.31.3
6
+ spaces==0.14.0
7
  torch==2.0.0
8
  torchvision==0.15.1
9
  transformers==4.33.2